package service;

import dao.AdminLoginDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import pojo.Admin;

import java.util.List;

@Service("adminLoginService")
@Transactional
public class AdminLoginService {
    @Autowired
    private AdminLoginDao adminLoginDao;
    public List<Admin> log(Integer aid,String apwd){return adminLoginDao.login(aid,apwd);}
}
